package com.baeldung.bidirect;

import com.fasterxml.jackson.annotation.JsonView;

/**
 * Created by dzy on 2018/9/2
 */
public class Item3 {
  @JsonView(Views.Public.class)
  public int id;

  @JsonView(Views.Public.class)
  public String itemName;

  @JsonView(Views.Public.class)
  public User3 owner;

  public Item3(int id, String itemName, User3 owner) {
    this.id = id;
    this.itemName = itemName;
    this.owner = owner;
  }
}
